package com.jeeplus.modules.action.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.common.persistence.Page;
import com.jeeplus.common.service.CrudService;
import com.jeeplus.modules.action.entity.UserAction;
import com.jeeplus.modules.action.dao.UserActionDao;

/**
 * 用户操作Service
 * @author wangkai
 * @version 2018-02-03
 */
@Service
@Transactional(readOnly = true)
public class UserActionService extends CrudService<UserActionDao, UserAction> {

	public UserAction get(String id) {
		return super.get(id);
	}
	
	public List<UserAction> findList(UserAction userAction) {
		return super.findList(userAction);
	}
	
	public Page<UserAction> findPage(Page<UserAction> page, UserAction userAction) {
		return super.findPage(page, userAction);
	}
	
	@Transactional(readOnly = false)
	public void save(UserAction userAction) {
		super.save(userAction);
	}
	
	@Transactional(readOnly = false)
	public void delete(UserAction userAction) {
		super.delete(userAction);
	}
	
	
	
	
}